.class final Les/fk$c;
.super Ljava/lang/Object;
.source "AdBaseViewHolder.java"

# interfaces
.implements Lcom/kwad/sdk/api/KsAppDownloadListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Les/fk;->a(Les/fk;Lcom/kwad/sdk/api/KsNativeAd;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x8
    name = null
.end annotation


# instance fields
.field final synthetic a:Les/fk;

.field final synthetic b:Lcom/kwad/sdk/api/KsNativeAd;


# direct methods
.method constructor <init>(Les/fk;Lcom/kwad/sdk/api/KsNativeAd;)V
    .locals 0

    .line 1
    iput-object p1, p0, Les/fk$c;->a:Les/fk;

    iput-object p2, p0, Les/fk$c;->b:Lcom/kwad/sdk/api/KsNativeAd;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onDownloadFailed()V
    .locals 2

    .line 1
    iget-object v0, p0, Les/fk$c;->a:Les/fk;

    iget-object v0, v0, Les/fk;->f:Landroid/widget/TextView;

    iget-object v1, p0, Les/fk$c;->b:Lcom/kwad/sdk/api/KsNativeAd;

    invoke-interface {v1}, Lcom/kwad/sdk/api/KsNativeAd;->getActionDescription()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    const-string v0, "AdManager"

    const-string v1, "ks download onDownloadFailed"

    .line 2
    invoke-static {v0, v1}, Lcom/estrongs/android/util/n;->a(Ljava/lang/String;Ljava/lang/String;)V

    return-void
.end method

.method public onDownloadFinished()V
    .locals 2

    .line 1
    iget-object v0, p0, Les/fk$c;->a:Les/fk;

    iget-object v0, v0, Les/fk;->f:Landroid/widget/TextView;

    const v1, 0x7f1101dc

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(I)V

    const-string v0, "AdManager"

    const-string v1, "ks download onDownloadFinished"

    .line 2
    invoke-static {v0, v1}, Lcom/estrongs/android/util/n;->a(Ljava/lang/String;Ljava/lang/String;)V

    return-void
.end method

.method public onIdle()V
    .locals 2

    .line 1
    iget-object v0, p0, Les/fk$c;->a:Les/fk;

    iget-object v0, v0, Les/fk;->f:Landroid/widget/TextView;

    iget-object v1, p0, Les/fk$c;->b:Lcom/kwad/sdk/api/KsNativeAd;

    invoke-interface {v1}, Lcom/kwad/sdk/api/KsNativeAd;->getActionDescription()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    const-string v0, "AdManager"

    const-string v1, "ks download on idle"

    .line 2
    invoke-static {v0, v1}, Lcom/estrongs/android/util/n;->a(Ljava/lang/String;Ljava/lang/String;)V

    return-void
.end method

.method public onInstalled()V
    .locals 2

    .line 1
    iget-object v0, p0, Les/fk$c;->a:Les/fk;

    iget-object v0, v0, Les/fk;->f:Landroid/widget/TextView;

    const v1, 0x7f110056

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(I)V

    const-string v0, "AdManager"

    const-string v1, "ks download onInstalled"

    .line 2
    invoke-static {v0, v1}, Lcom/estrongs/android/util/n;->a(Ljava/lang/String;Ljava/lang/String;)V

    return-void
.end method

.method public onProgressUpdate(I)V
    .locals 3
    .annotation build Landroid/annotation/SuppressLint;
        value = {
            "SetTextI18n"
        }
    .end annotation

    .line 1
    iget-object v0, p0, Les/fk$c;->a:Les/fk;

    iget-object v0, v0, Les/fk;->f:Landroid/widget/TextView;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    const-string v2, "%"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 2
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string v1, "ks download onProgressUpdate "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    const-string v0, "AdManager"

    invoke-static {v0, p1}, Lcom/estrongs/android/util/n;->a(Ljava/lang/String;Ljava/lang/String;)V

    return-void
.end method
